<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *,body{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body{
            background: #1a1a1a;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }
        .box {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: rgb(255,255,0);
            margin: 20px;
        }
        .box:nth-of-type(1){
            filter: hue-rotate(0deg);
        }
        .box:nth-of-type(2){
            filter: hue-rotate(90deg);
        }
        .box:nth-of-type(3){
            filter: hue-rotate(180deg);
        }
        .box:nth-of-type(4){
            filter: hue-rotate(270deg);
        }
        .box:nth-of-type(5){
            filter: hue-rotate(360deg);
        }
    </style>
</head>

<body>
    <!-- 输入样本的相对色调变化，指定为<angle>。值0deg保持输入不变。
        正色调旋转增加色调值，而负旋转减少色调值。插值的初始值为0。没有最小值或最大值；hue-rotate(Ndeg)计算为N模 360。 -->
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
</body>

</html>